const _fetch = <T>(url: string) =>
  $fetch<T>(`${useRuntimeConfig().public.apiUrl}${url}`);

export const $get = <T>(url: string) => _fetch<T>(url);
